<template>
<div>1111 <el-button type="primary"  @click="aaa">主要按钮</el-button>
<HelloWorld :a.sync="title"></HelloWorld>
</div>  
</template>

<script>
import HelloWorld from "@/components/HelloWorld.vue"
export default {
  name: "HomeView",
  components: {
    HelloWorld
  },

  data:()=>{
    return {
      title:'鼠标划入显示我的信息'
    }
  },
  methods:{
    aaa(){
      console.log(5555);
    }
  }
};
</script>
<style>
.title {
  width: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
</style>
